<template>
  <div id="app">
    <keep-alive>
       <router-view/>
    </keep-alive>
   
   
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
    return{
       groceryList: [
      { id: 0, text: '蔬菜' },
      { id: 1, text: '奶酪' },
      { id: 2, text: '随便其它什么人吃的东西' }
    ]
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
 
}
</style>
